package cn.edu.guet.gythtglxt.mapper;

import cn.edu.guet.gythtglxt.entity.role;
import cn.edu.guet.gythtglxt.entity.tb_natmeha_hotspot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 */
@Repository
public interface IndexMapper extends BaseMapper<role> {
    @Select("SELECT * FROM tb_natmeha_hotspot LIMIT #{index},#{num}")
    List<tb_natmeha_hotspot> selectHotSpotList(int index, int num);
}
